package cc.comac.mom.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "quality_qar_check_invoice")
@Data
@EqualsAndHashCode(callSuper=true)
public class QualityQarCheckInvoiceEntity extends BaseResultEntity{

	
	private static final long serialVersionUID = 1L;
	@TableField(value="check_invoice_id")
	@TableId(value = "check_invoice_id",type=IdType.INPUT )
	private long   id;
	private long qarBasicStandardId;
	private String qarNo;
	private String asrNo;
	private String pclrNo;
	private String ndtNo;
	private String problemNo;
	private String problemStatus;
	private String problemMessage;
	private String problemModifiedUser;
	private String problemModifiedTime;
	private String frrNo;
	private String redressNo;
	private String formType;
	private String currentStatus;
	private String purchaseOrder;	
	private String shipNo;	
	private BigDecimal quantity;//到货数量
	private String uom;
	private String vendor;
	private String manufacturer;
	private String productType;
	private String partType;
	private String partNo;
	private String partName;
	private String materialNumber;
	private String changedLetters;
	private String status;
	private String routeMaterialNumber;
	private String type;
	private String category;
	private double level;
	private String shape;
	private String norms;
	private String colorCode;
	private String materialType;
	private String standard;
	private String standardVersion;
	private String model;
	private String materialScience;
	private String matNumber;
	private String testItemQuantity;
	private String requiredSize;
	private int samplesQuantity;
	private String actualMeasurement;
	private String samplesSize;
	private String planRemark;
	private String checkRemark;
	private String restrictedPartRequirements;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date baseDate= null;
	private String materialInfo;
	private String finishedProduct;
	private String finishedProductName;
	private String finishedProductSn;
	private String finishedProductBatch;
	private String limiteDeadline;
	private String limiteControlWay;
	private int isCheck;
	private int isTest;
	private int isSample;
	private int isLifeLimitedParts;
	private int isRedressEntrust;
	private String performanceRequest;
	private String changeNo;
	private String figureNo;
	private String figureVersion;
	private String softwareNo;
	private String softwareVersion;
	private String atpNo;
	private String atpVersion;
	private String serialNumber;
	private String stoveNo;
	private String actualPartVersion;
	private String actualChangeNo;
	private String actualFigureNo;
	private String actualFigureVersion;
	private String actualSoftwareNo;
	private String actualSoftwareVersion;
	private String actualAtpNo;
	private String actualAtpVersion;
	private String actualWeight;
	private String weightSource;
	private BigDecimal qualifiedQty;
	private BigDecimal rejectionQty;
	private BigDecimal percentOfPass;
	private String planUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date planDate= null;
	@TableField(fill = FieldFill.UPDATE)
	private String checkUser;
	@TableField(fill = FieldFill.UPDATE)
	private String checkUserNo;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date checkDate= null;
	private String allowToFile;
	private String changeCondition;
	private long attachmentGroupId;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date splitDate = null;
	private String splitUser;
	private String mark;
	private String materialDocument;
	private String materialDocumentItem;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date supplierDeliveryTime;
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
	private String isFrr;
	private String isVerify;
	private long qarTaskId;
	private long qualityPurchaseOrderInfoId;
	private String isFrozen;
	
}
